const state = {
  formKey: null
}

const mutations = {
  CHANGE_FORM_KEY: (state, value) => {
    state.formKey = value
  }
}

const actions = {
  changeFormKey({ commit }, value) {
    commit('CHANGE_FORM_KEY', value)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
